import request from '@/utils/request'

const PATH= '/crm/clueTrack';

// 新增线索管理
export function addClueTrack(data) {
  return request({
    url: PATH,
    method: 'post',
    data: data
  })
}

export function falseClue(data) {
  return request({
    url: `${PATH}/falseClue`,
    method: 'PUT',
    data: data
  })
}

export function resetClue(id){
  return request({
    url: `${PATH}/resetClue`,
    method: 'put',
    data:{id: id,recout: '重新捞取线索'}
  })
}

export function tranform2Business(data) {
  return request({
    url: `${PATH}/transform`,
    method: 'PUT',
    data: data
  })
}




